<template>
  <el-tag v-if="props.status === 0" type="success">启用</el-tag>
  <el-tag v-else type="danger">禁用</el-tag>
</template>

<script setup name="TcStatus">
const props = defineProps({
  status: Number
})
</script>

